package com.ibeeking.gmc.job.admin.service;

import com.ibeeking.gmc.job.admin.core.model.XxlJobGroup;
import com.ibeeking.gmc.job.core.biz.model.ReturnT;

import java.util.Map;

/**
 * @ClassName IJobGroupService
 * @Description
 * @Author ibeeking
 * @Date 2021-01-27 19:27
 **/
public interface IJobGroupService {

    ReturnT<String> save(XxlJobGroup xxlJobGroup);

    Map<String, Object> pageList(int start, int length, String appname, String title);

    ReturnT<String> update(XxlJobGroup xxlJobGroup);

    ReturnT<String> remove(int id);

    ReturnT<XxlJobGroup> load(int id);

    XxlJobGroup queryByAppName(String appName);
}
